package cn.dd.crmweb.modules.jorful.controller;


import cn.dd.crmweb.common.Result;
import cn.dd.crmweb.modules.jorful.service.IAdsYemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("jorful")
public class JorfulController {

    @Autowired
    private IAdsYemoService adsYemoService;

    @GetMapping("list")
    public Result findAll(){
        return Result.success(adsYemoService.list());
    }
}
